package cn.yunyichina.provider.iface.entity.pay;

/**
 * 支付渠道
 *
 * Created by Lullaby on 2016/10/26.
 */
public enum PayCode {

    WECHAT                (1,     "微信"),
    ALIPAY                (2,     "支付宝"),
    UNION                 (3,     "中国银联"),
    //                    (4,     "第三方对接密钥配置"),
    ICBC                  (6,     "中国工商银行"),
    WECHATMEDICAL         (7,     "微信医疗支付"),
    PACITY                (8,     "平安支付"),

    WXAPP                 (11,    "微信APP支付"),
    WXJSAPI               (12,    "微信公众号支付"),
    WXNATIVE              (13,    "微信扫码付"),
    WXMICROPAY            (14,    "微信刷卡付"),
    WXAPPLET              (15,    "微信小程序支付"),

    WXMEDICALPAY          (16,    "微信医疗支付(医保支付)"),

    WXWEB                 (17,    "微信H5支付"),

    ALIPAYAPP             (21,    "支付宝APP支付"),
    ALIPAYWAP             (22,    "支付宝手机网站支付"),
    ALIPAYPREPAY          (23,    "支付宝扫码支付"),
    ALIPAYBARPAY          (24,    "支付宝条码支付"),
    ALIPAYWAVEPAY         (25,    "支付宝声波支付"),
    ALIPAYRECEIPT         (26,    "支付宝收款"),
    ALIPAYMEDICARE        (27,    "支付宝医保WAP支付"),
    ALIPAYMEDICAREBARPAY  (28,    "支付宝医保条码付"),
    ALIPAYMEDICAREWAVEPAY (29,    "支付宝医保声波付"),

    ALIPAYMEDINFOUPLOAD   (211,   "支付宝医疗信息报备(0元医保挂号)"),
    ALIPAYMEDWAP          (212,   "支付宝医疗自费WAP支付"),

    HYMEDUNION            (31,    "河源银联一卡通支付"),
    ;

    private int mode;

    private String desc;

    PayCode(int mode, String desc) {
        this.mode = mode;
        this.desc = desc;
    }

    public int getMode() {
        return this.mode;
    }

    public String getDesc() {
        return this.desc;
    }

}
